package com.wwy.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 王伟羽
 * @date 2024/9/5 11:22
 */
@FeignClient("cart-service")
public interface CartClient {

    @DeleteMapping(value = "/cart")
     void removeByItemIds(@RequestParam("ids") List<Long> ids);
}
